<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>积分管理</title>   
        <meta name="description" content="Dashboard">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <!--Basic Styles-->
        <link href="__ASTYLE__/bootstrap.css" rel="stylesheet">
        <link href="__ASTYLE__/font-awesome.css" rel="stylesheet">
        <link href="__ASTYLE__/weather-icons.css" rel="stylesheet"> 
        <!--Beyond styles-->
        <link id="beyond-link" href="__ASTYLE__/beyond.css" rel="stylesheet" type="text/css">
        <link href="__ASTYLE__/demo.css" rel="stylesheet">
        <link href="__ASTYLE__/picons.css" rel="stylesheet">
        <link href="__ASTYLE__/animate.css" rel="stylesheet">       
    </head>
    <body>
        <!-- 头部 -->
        {include file="common/top"}
        <!-- /头部 -->
        
        <div class="main-container container-fluid">
            <div class="page-container">
                <!-- Page Sidebar -->
                {include file="common/left"}
                <!-- /Page Sidebar -->
                <!-- Page Content -->
                <div class="page-content">
                    <!-- Page Breadcrumb -->
                    <div class="page-breadcrumbs">
                        <ul class="breadcrumb">
                            <li>
                                <a href="<{:url('index/index')}>">论坛系统</a>
                            </li>
                            <li class="active">会员消费信息表</li>
                        </ul>
                    </div>
                    <!-- /Page Breadcrumb -->   
                    <!-- Page Body -->
                    <div class="page-body">                     
                        <div class="row">
                            <div class="col-lg-12 col-sm-12 col-xs-12">
                                <div class="widget">
                                    <div class="widget-body">
                                        <div class="flip-scroll">
                                            <table class="table table-bordered table-hover">
                                                <thead class="">
                                                    <tr>
                                                        <th class="text-center" width="5%">ID</th>
                                                        <th class="text-center" width="">用户ID</th>
                                                        <th class="text-center" width="">用户名</th>
                                                        <th class="text-center" width="">积分</th>
                                                        <th class="text-center" width="20%">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    {volist name="list" id="vo"}
                                                    <tr>
                                                        <td align="center"><{$vo.id}></td>
                                                        <td align="center"><{$vo.userid}></td>
                                                        <td align="center"><{$vo.phone}></td>
                                                        <td align="center"><{$vo.jifen}></td>
                                                        <td align="center">
                                                            <a href="<{:url('setgral',array('id'=>$vo['userid']))}>" class="btn btn-primary btn-sm shiny">
                                                                <i class="glyphicon glyphicon-search"></i> 查看消费记录
                                                            </a>
                                                             <a href="<{:url('getgral',array('id'=>$vo['userid']))}>" class="btn btn-primary btn-sm shiny">
                                                                <i class="glyphicon glyphicon-search"></i> 查看获取记录
                                                            </a>
                                                        </td>
                                                    </tr>
                                                    {/volist}
                                                </tbody>
                                            </table>
                                        </div>
                                        <div style="text-align:right; margin-top:10px;"><{$list->render()}></div>
                                    </div>
                                </div>
                            </div>
                        </div>
    
                    </div>
                    <!-- /Page Body -->
                </div>
                <!-- /Page Content -->
            </div>  
        </div>
    
        <!--引入外部文件-->
        <script src="__ASTYLE__/jquery_002.js"></script>
        <script src="__ASTYLE__/bootstrap.js"></script>
        <script src="__ASTYLE__/jquery.js"></script>
        <script src="__ASTYLE__/beyond.js"></script>
    </body>
</html>